import axios from '@/libs/request'// 获取字典数据
// 获取
export const getDic = () => {
  return axios({
      url: `/groupshop/goods/public/v1/10/1`,
      method: 'get',
      data: {
        type:''
      }
    },{
      check:false
    }
  )
}

export const fenlei = () => {
  return axios({
    url: `/groupshop/goods/public/v1/type/list`,
    method: 'get',
  })
}

export const proupts = (data) => {
  return axios({
    url: `/groupshop/goods/public/v1/10/${data.pageNum}`,
    method: 'get',
    data,
  })
}